/*
 * Copyright (c) 2018 maoyan.com
 * All rights reserved.
 *
 */
package com.darren.euc.service;

import com.darren.euc.entity.Banner;
import com.darren.euc.entity.PageBean;
import net.sf.json.JSONObject;

import java.util.List;
import java.util.Map;

/**
 * 在这里编写类的功能描述
 *
 * @author fangwenhao
 * @created 2018/3/11
 */
public interface BannerService {

    PageBean queryForPageBannerHQL(JSONObject data, Integer pageSize, int currentPage);

    Banner aoe(JSONObject data);

    Banner delete(Long id);

    /**
     * 查询所有的可用banner（app端）
     */
    List<Map> findAll();

}
